<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./css/reset.css">
    <style>
        .item
        {
           
             background-color: #fff;
             display: inline-block;
             box-sizing: border-box;
             width: 250px;
             height: 300px;
             cursor:pointer;
        }

        .item:hover
        {
            box-shadow: 0px 5px 10px 10px #514f4f ;
        }

        .h3
        {
            color:#514f4f;
            font-weight: 400;
            font-size: 16px;
            text-align :  center;    
            text-overflow :  ellipsis;        
            white-space :  nowrap;         
            overflow :  hidden;
            margin-left: 10px;
        }

        .img1
        {
           width: 160px;
           height: 160px;

        }
        
        .desc
        {
            color: #999;
            font-size: 12px;
            text-align: center;
            margin: 0px;
            padding: 0px;
            margin-left: 8px;
        }

        .price
        {
            text-align: center;
            font-size: 12px;
        }

        .price .new-price
        {
            color: #ff6700;

        }

        .price .old-price
        {
            color: #999;
            text-decoration: line-through;
        }


    </style>
</head>
<body>
    <a class="item" href="https://www.mi.com/shop/buy/detail?product_id=16686" target="_blank">
        <img class="img1" src="./image/mi01.jpg" alt="壁炉">
         <h3 class="h3">米家石墨烯踢脚线电暖器 仿真火焰版</h3>
        <p class="desc">加湿+火焰效果 | 悬浮外观 | 双核石墨</p>
        <p class="price">
            <span class="new-price">1270元</span>
            <span class="old-price">1599元</span>
        </p>
    </a>
</body>
</html>